import {createApp} from 'vue'
import './assets/style/main.css'
import App from './App.vue'
import setupPlugins from './plugins'
import setupComponents from './components'
import 'virtual:svg-icons-register'
import setupDirective from '@/directive/index.js'

// 全局注册vue-tippy
import "tippy.js/dist/tippy.css";
import "tippy.js/themes/light.css";

function bootstrap() {

  const app = createApp(App)
  setupComponents(app)
  setupPlugins(app)
  setupDirective(app)
  app.mount('#app')
}

bootstrap()
